package com.wlyuan.open.scanner.domain.transport.mapping;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "cost.divideFee", source = "lessCost")
@Mapping(target = "cost.wholeFee", source = "fullCost")
@Mapping(target = "cost.pickFee", source = "pickCost")
@Mapping(target = "cost.deliverFee", source = "deliveryCost")
@Mapping(target = "cost.loadFee", source = "onLoadCost")
@Mapping(target = "cost.unloadFee", source = "offLoadCost")
@Mapping(target = "cost.insureFee", source = "insuranceCost")
@Mapping(target = "cost.taxFee", source = "taxCost")
@Mapping(target = "cost.surchargeFee", source = "additionCost")
@Mapping(target = "cost.prepayFee", source = "payment")
@Mapping(target = "cost.arrivePayFee", source = "payable")
@Mapping(target = "cost.collectionFee", source = "paysub")
@Mapping(target = "cost.totalFee", source = "totalCost")
@Mapping(target = "cost.minCost", source = "minCost")
@Mapping(target = "cost.receiptFee", source = "receiptFee")
@Mapping(target = "cost.exceptionFee", source = "exceptionFee")
@Mapping(target = "cost.matched", source = "matched")
@Mapping(target = "cost.refresh", source = "refreshPrice")
@Mapping(target = "cost.tenantId", source = "indexCreatorcompanyid")
@Mapping(target = "cost.templateId", source = "templateId")
@Mapping(target = "cost.surchargeFees", source = "surchargeFees")
@Mapping(target = "cost.quoteSurchargeFee", source = "quoteSurchargeFee")
public @interface CacheCostMapping {
}
